package com.dubbo.sunne.generic;

import com.alibaba.dubbo.rpc.service.GenericException;
import com.alibaba.dubbo.rpc.service.GenericService;

public class GenericServiceImpl implements GenericService {
    
    public void eat(String param) {
        System.out.println(GenericServiceImpl.class.getName() + ":" + "eat");
    }
    
    public Object $invoke(String method, String[] parameterTypes, Object[] args)
            throws GenericException {
        System.out.println(GenericServiceImpl.class.getName() + ":" + "$invoke");
        return GenericServiceImpl.class.getName() + ":" + "$invoke";
    }
    
}
